package com.techstar.api.pojo.expressway;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.joda.time.DateTime;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.techstar.common.jackson.DateTimeDeserializer;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 
 * @author EinIce
 * @description 高速拥堵流量排名
 * @date 2021年6月25日
 *
 */
@Getter
@Setter
@Entity
@ToString
@Table(name = "freeway_congest_rank")
@org.hibernate.annotations.Table(appliesTo = "freeway_congest_rank",comment="pord-4-高速拥堵流量排名")
public class FreewayCongestRank {
	private String id;
	@Id
    private String highwayId;
    private String highwayName;
    private Double congestIndex;
    private String congestIndexCsy;
    private String congestIndexCsm;
    private Double speedAvg;
    private String speedAvgCsy;
    private String speedAvgCsm;
    private String vehicleFlow;
    private String vehicleFlowCsy;
    private String vehicleFlowCsm;
    @JsonDeserialize(using = DateTimeDeserializer.class)
    private DateTime createTime;
    private String timeIntervalId;
    @JsonDeserialize(using = DateTimeDeserializer.class)
    private DateTime updateTime;
    @JsonDeserialize(using = DateTimeDeserializer.class)
    private DateTime endTime;
    private String congestDirection;

}
